import { ReqPage } from "@/api/interface/index";
// 用户管理模块
export namespace User {
  export interface ReqUserParams extends ReqPage {
    uniq_code: string;
    name: string;
    mobile_phone: string;
    username: string;
    email: string;
    org_id: string;
  }
  export interface ResUserList {
    id: number;
    create_at: string;
    display_name: string;
    email: string;
    enable: boolean;
    last_login: string;
    last_login_ip: string;
    mobile_phone: string;
    name: string;
    office_phone: string;
    thirdparty: string;
    type: { key: string; verbose: string };
    uniq_code: string;
    username: string;
    role: string;
    org: any;
  }
}

export namespace Organization {
  export interface ResOrganizationList {
    id: number;
    leader: string;
    name: string;
    parent_id: number;
  }
}
